
--[[

    slimui - Copyright (c) 2011 atom0s, All rights reserved.

    See Copyright notice in slimui.lua
    
]]--

class 'CustomControl: WinControl' { ... };

----------------------------------------------------------------------------------
-- func: CustomControl.__init__
-- desc: Constructor called when this object is first created.
----------------------------------------------------------------------------------
function CustomControl.__init__( self )
    WinControl.__init__( self );
end

----------------------------------------------------------------------------------
-- func: CustomControl:GetCanvas
-- desc: Returns the canvas object of this control.
----------------------------------------------------------------------------------
function CustomControl:GetCanvas( )
    return customControl_getCanvas( self._object );
end



--[[ Debug information. ]]--------------------------------------------------------
if ( slimui:isdebug() == true ) then
    slimui:msg( '(Base) customcontrol.lua successfully loaded.' );
end